import Vue from 'vue'
import './g.beforeEach'
import './third.party'
import defines from './all.define'
import * as filters from './cus.filters'

for (const k in defines) {
  Object.defineProperty(Vue.prototype, k, {
    value: defines[k]
  })
}

// 注册全局过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
